package jsi.spring;

import org.springframework.test.AbstractDependencyInjectionSpringContextTests;

public class HibernateTest extends
		AbstractDependencyInjectionSpringContextTests {
	private OsobaDao osobaDao2;

	public void setOsobaDao2(OsobaDao osoba) {
		osobaDao2 = osoba;
	}

	public void testLoadImie() {
		Osoba o = osobaDao2.findOsobaByName("Tomek");
		assertNotNull(o);
	}

	protected String[] getConfigLocations() {
		return new String[] { "classpath:/beans.xml" };
	}
}